/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Test;

import Bean.Barang_Konsumen;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Yohanes Beny P
 */
public class tesInsertBarang {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Bean.Barang_Konsumen bk = new Barang_Konsumen();
        bk.setIdKantorCabang("jkt".toUpperCase());
        bk.setNoResi("1234");
        try {
            bk.terimaData(bk);
        } catch (SQLException ex) {
            Logger.getLogger(tesInsertBarang.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
